import pygame

class Util:
    @staticmethod
    def check_click(spite):
        if pygame.mouse.get_pressed()[0]:
            mouse_pos = pygame.mouse.get_pos()
            return spite.rect.collidepoint(mouse_pos)
